import request from '@/utils/request'

// 查询商品列表
export function listApply(query) {
  return request({
    url: '/apply/list',
    method: 'get',
    params: query
  })
}
export function addOrEditApply(data) {
  return request({
    url: '/apply/save',
    method: 'post',
    data
  })
}
export function delApply(aid) {
    return request({
      url: '/apply/delete/' + aid,
      method: 'get'
    })
  }